package com.otp.webapp.comparators;

import java.util.Comparator;
import com.otp.model.test.template.TestSection;

public class CompSectionsByOrder implements Comparator<TestSection>{

	//@Override
	public int compare(TestSection ts1, TestSection ts2){
		int order1 = (int) (long) ts1.getOrderInTest();
		int order2 = (int) (long) ts2.getOrderInTest();
		return order1-order2;
	}
} 
